import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import get from '@dfeidao/atom-web/local/get';
// import remove from '@dfeidao/atom-web/local/remove';
import fire_component_msg from '@dfeidao/atom-web/msg/fire';

export default async function a008(fd: IFeidaoAiBrowserComponent) {
	// 新增分派条件字段弹窗
	const role_type_id = get(fd, '_id');
	const arr = get(fd, 'arr');
	// console.log(arr, '008');

	const tabname = fd.data.node.querySelector<HTMLInputElement>('#tabname').value;
	fire_component_msg('zj-000005', 'ec-001', { tabname, arr, role_type_id });
	// remove(fd, 'arr');
}
